package com.remon.quartz.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 触发器锁
 *
 * @author remon
 * @create 2018-09-09 11:47
 **/
@Entity
@Table(name = "QRTZ_LOCKS")
@NoArgsConstructor
@AllArgsConstructor
public class QrtzLocks {

    /**
     * 设计器名称
     */
    @Id
    @Column(name = "SCHED_NAME")
    private String schedName;
    /**
     * 锁名
     */
    @Column(name = "LOCK_NAME")
    private String lockName;
}
